# $Id: PKGBUILD 66169 2012-02-23 02:28:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com>

pkgname=proxytunnel
pkgver=1.9.0
pkgrel=3
pkgdesc="a program that connects stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
arch=('i686' 'x86_64')
url="http://proxytunnel.sourceforge.net"
license=('GPL')
depends=('openssl')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
md5sums=('d74472b89c3f3b3b0abf6bd809ae34c2')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's|PREFIX =/usr/local|PREFIX =/usr|g' Makefile
  make
  make DESTDIR=$pkgdir install
}
